package cn.yaboya.org.domain;

import cn.yaboya.basic.domain.BaseDomain;
import cn.yaboya.system.domain.Role;
import cn.yaboya.user.domain.Logininfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {

    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer age;
    private Integer state = 0;
    private Long departmentId;
    private Long logininfoId;
    private Long shopId;

    private Department department;
    private Role role;
    private Shop shop;
//    private Logininfo logininfo;
    private String comfirmPassword;
    private String SmsCodeValue;

}
